
require("../less/advertisement.less")
// js代码
document.ready(function () {
    // 倒计时跳转
    let skipNum = 5;
    let seconds = document.querySelector('.seconds')
    seconds.textContent = skipNum;
    let timeId = window.setInterval(function () {
        skipNum--;
        seconds.textContent = skipNum;
        if (skipNum == 0) {
            window.location.href = './register.html';
            window.clearInterval(timeId)
        }
    }, 1000)

})